package com.mjh.partners.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/ViewController")
@Controller
public class ViewController {
    @RequestMapping(value="goAbout")
    public String goAbout(){
        return "about";
    }
    @RequestMapping(value="goUserPanel")
    public String goUserPanel(){
        return "userpanel";
    }
    @RequestMapping(value="goUserPanel2")
    public String goUserPanel2(){
        return "userpanel2";
    }
    @RequestMapping(value="toLogin")
    public String toLogin(){
        return "login";
    }
    @RequestMapping(value="toEditUser")
    public String toEditUser(){
        return "editUser";
    }
    @RequestMapping(value="toDetailed")
    public String toDetailed(){
        return "detailed";
    }
    @RequestMapping(value="toMy")
    public String toMy(){
        return "my";
    }
    @RequestMapping(value="toPartnerPage")
    public String toPartnerPage(){
        return "partnerPage";
    }
    @RequestMapping(value="toAdd")
    public String toAdd(){
        return "addExperience";
    }
    @RequestMapping(value="toRegister")
    public String toRegister(){
        return "register";
    }
    @RequestMapping(value="toChangeHead")
    public String toChangeHead(){
        return "changeHead";
    }

}
